package com.gxa.mapper.employee;

import com.gxa.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Excel数据处理层
 */
public interface ExcelMapper {

    /**
     * 批量导入Excel表格中的员工信息
     * @param employees
     */
    void addEmployeeList(@Param("employees")List<Employee> employees);

    /**
     * 根据部门编号导出员工信息为Excel表
     * @param deptId
     * @return
     */
    List<Employee> selectAllEmployeeInfo(@Param("deptId")String deptId);
}
